//package test.enba.mq.consumer.activemq;
//
//import com.enba.boot.mq.sender.activemq.config.ActiveMQConfig;
//import org.springframework.jms.annotation.JmsListener;
//import org.springframework.stereotype.Component;
//
//@Component
//public class TopicMessageReceiver {
//
//  /**
//   * topic 消息接收者
//   *
//   * @param message
//   */
//  @JmsListener(
//      destination = "orderTopic",
//      containerFactory = ActiveMQConfig.BROADCAST_FACTORY_BEAN_NAME)
//  public void receiveMessage(String message) {
//    System.out.println("Consumer1 Received message from topic: " + message);
//  }
//}
